polySides
Type
property
Summary
Specifies how many sides a regular polygon has.
Syntax
set the polySides [of <graphic>] to <numberOfSides>
Description
Use the polySides property to change the appearance of polygons.
The polySides property affects only graphics whose style property is set to regular.
The global setting of the polySides property controls the appearance of polygons drawn with the paint tools. Once a paint polygon is drawn, its appearance can no longer be changed by changing the global polySides property.
Examples
set the polySides to 3 -- to make triangles
set the polySides of graphic "Hex" to 6 -- hexagon
Related
glossary: property, polygon, appearance, paint tool, regular polygon
keyword: graphic, polygon, integer
object: graphic
Compatibility and Support
Introduced
LiveCode 1.0
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile